package oop.inherit;

public class Father extends GrandFather {

    long money=100;

    int age = 50;

    public Father(){
        super(1);
        System.out.println("我是Father类的构造方法");
    }

    public void work(){
        System.out.println("去上班");
    }

    public void dance(){
        System.out.println("跳广场舞");
    }
}
